Add /speckit.designsystem command for design system management#1526
Open
r-a-f-a wants to merge 1 commit intogithub:mainfrom
Open
Add /speckit.designsystem command for design system management#1526r-a-f-a wants to merge 1 commit intogithub:mainfrom
r-a-f-a wants to merge 1 commit intogithub:mainfrom
Conversation
This commit introduces a new optional command that enables teams to create and maintain a comprehensive design system as part of the Spec-Driven Development workflow. The design system serves as the single source of truth for visual design, component patterns, and UX guidelines. Key features: - Create design system from scratch with guided questions - Update existing design systems with semantic versioning - Validate alignment with project constitution - Document colors, typography, spacing, components, and UX patterns - Generate visual documentation with Mermaid diagrams - Specify tech stack (Tailwind, shadcn/ui, component libraries) - Include accessibility standards (WCAG AA/AAA) - Handoff integration with /speckit.specify and /speckit.plan The command is automatically generated for all 18 supported AI agents (15 Markdown, 2 TOML, 1 via AGENTS.md) through the existing build system without requiring any additional configuration. Changes: - Add templates/commands/designsystem.md (command workflow) - Add templates/design-system-template.md (detailed template) - Update README.md (command documentation) - Update spec-driven.md (workflow integration) - Update templates/spec-template.md (design system reference) - Update templates/plan-template.md (design system reference) - Bump version to 0.0.91 in src/specify_cli/__init__.py All agents tested and validated. No breaking changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new optional command that enables teams to create and maintain a comprehensive design system as part of the Spec-Driven Development workflow.
Overview
The design system serves as the single source of truth for visual design, component patterns, and UX guidelines. Teams can now define their UI/UX standards before writing specs, ensuring consistency across all features.
Key Features
Changes
templates/commands/designsystem.md(command workflow - 341 lines)templates/design-system-template.md(detailed template - 907 lines)README.md(command documentation)spec-driven.md(workflow integration)templates/spec-template.md(design system reference)templates/plan-template.md(design system reference)src/specify_cli/__init__.pyAgent Support
The command is automatically generated for all 18 supported AI agents:
No additional configuration required - the existing build system automatically processes the new command.
Testing
Breaking Changes
None. This is a completely new optional command that doesn't affect existing functionality.
Workflow Integration
The command fits into the Spec-Driven Development workflow as:
/speckit.constitution- Define project principles/speckit.designsystem- ⭐ NEW: Define design system (optional)/speckit.specify- Create feature specs (now can reference design system)/speckit.plan- Create implementation plans (aligned with design system)/speckit.tasks- Generate tasks/speckit.implement- Execute implementation